﻿using System;

namespace Terraria.ModLoader.Default.Patreon
{
	// Token: 0x0200030D RID: 781
	internal class Dinidini_Wings : PatreonItem
	{
		// Token: 0x170001F8 RID: 504
		// (get) Token: 0x06001D94 RID: 7572 RVA: 0x00014F71 File Offset: 0x00013171
		public override string PatreonName
		{
			get
			{
				return "dinidini";
			}
		}

		// Token: 0x170001F9 RID: 505
		// (get) Token: 0x06001D95 RID: 7573 RVA: 0x00014A86 File Offset: 0x00012C86
		public override PatreonItem.PatreonItemType PatreonEquipType
		{
			get
			{
				return PatreonItem.PatreonItemType.Wings;
			}
		}

		// Token: 0x06001D96 RID: 7574 RVA: 0x00014FE6 File Offset: 0x000131E6
		public override void SetDefaults()
		{
			base.SetDefaults();
			base.item.vanity = false;
			base.item.width = 24;
			base.item.height = 8;
			base.item.accessory = true;
		}

		// Token: 0x06001D97 RID: 7575 RVA: 0x0001501F File Offset: 0x0001321F
		public override void UpdateAccessory(Player player, bool hideVisual)
		{
			player.wingTimeMax = 150;
		}
	}
}
